package com.cskaoyan.Day23;


import java.net.DatagramSocket;
import java.net.SocketException;

public class FirstClient {
    public static void main(String[] args) throws SocketException {
        DatagramSocket datagramSocket = new DatagramSocket(8888);
        new Thread(new SendTask(datagramSocket,"255.255.255.255",100)).start();
        new Thread(new ReceiveTask(datagramSocket)).start();
    }
}


